<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html class="no-js">
<head>
<title>前台注册</title>
<%@ include file="../mobile_inc.jsp" %>
<%@ include file="../../common_header.jsp"%>
<link href="/css/register.css" type="text/css" rel="stylesheet">
<link href="/css/global.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
            
        //确认密码
        function onpsd(){
            if(this.value!=pwd.value){
                pwd2_msg.innerHTML='<i></i>两次密码输入到不一致';
                pwd.style.border='1px solid red';
            }else if(this.value==""){
                pwd2_msg.innerHTML='<i></i>请输入密码';
                pwd.style.border='1px solid red';
            }else{
                pwd2.style.border='1px solid #fff';
            }
        }
        function submitRegisterForm() {
        	
        }
        function success(){
        	window.location.href = "${ctx }/mobile/success";
        }
        </script>
    </head>
    <body>
        <div id="layout">
            <span>注册界面</span>
            <form  method="post">
            <ul>
                <p id="err_msg"></p>
                <li><i class="un"><img src="${ctx }/images/user_name.png"></i><input id="custName" class="username" name="custName" type="text" placeholder="请输入用户名" /></li>
                <li><i class="pw"><img src="${ctx }/images/pwd.png"></i><input id="password" class="pwd" name="password" type="password" placeholder="请输入密码" /></li>
                <li><i class="pw2"><img src="${ctx }/images/pwd.png"></i><input class="pwd2" type="password" placeholder="请输入确认密码 " /></li>
                <div class="queren"><input class="fx" type="checkbox" checked="checked" /><p>我已阅读并同意《用户协议》</p></div>
            </ul>
                <div class="reg_btn">
                    <a href="javascript:void(0)" onclick="success()"><button class="submit" type="submit">注册</button>
                    <a href="${ctx }/mobile/index" target="_self"><div class="reg-login"><p>已有账号，立即登录</p></div></a>
                </div>
            </form>
            <br>
            <br>
            <br>
            <br>
            <br>
            <div style="text-align:center;">
		
		</div>
        </div>
    </body>
</html>